package com.bkgy.controller.repTechFit.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

@Data
public class RepTechFit implements Comparable<RepTechFit> {
    private String shijian;//日期
    private String lineName;//产线
    private String crew;//班组
    private Integer zongjuans;//总卷数
    private Integer hege;//合格卷数
    private Integer rukoud;//入口段不合格卷数
    private Integer suanxi;//酸洗段不合格卷数
    private Integer zhazhi;//轧制段不合格卷数

    private Integer tcmTlElongCount = 0;//拉矫机延伸率

    private Integer tcmProcessSpeedCount = 0;//酸洗速度
    @TableField("TCM_TANK1_TEMP_COUNT")
    private Integer tcmTank1TempCount = 0;//1#酸槽温度
    @TableField("TCM_TANK2_TEMP_COUNT")
    private Integer tcmTank2TempCount = 0;//2#酸槽温度
    @TableField("TCM_TANK3_TEMP_COUNT")
    private Integer tcmTank3TempCount = 0;//3#酸槽温度
    @TableField("ACID1_COUNT")
    private Integer acid1Count = 0;//1#游离酸浓度
    @TableField("FE_CONTENT1_COUNT")
    private Integer feContent1Count = 0;//1#铁离子浓度
    @TableField("ACID3_COUNT")
    private Integer acid3Count = 0;//3#游离酸浓度
    @TableField("FE_CONTENT3_COUNT")
    private Integer feContent3Count = 0;//3#铁离子浓度
    private Integer tcmRinsePhCount = 0;//漂洗槽PH值
    private Integer tcmDryTempCount = 0;//烘干机温度

    private Integer rollSpeedCount = 0;//轧制速度
    @TableField("TCM_TANK1_EMU_TEMP_COUNT")
    private Integer tcmTank1EmuTempCount = 0;//乳化液1#箱温度
    @TableField("TCM_TANK2_EMU_TEMP_COUNT")
    private Integer tcmTank2EmuTempCount = 0;//乳化液2#箱温度
    @TableField("TCM_TANK3_EMU_TEMP_COUNT")
    private Integer tcmTank3EmuTempCount = 0;//乳化液3#箱温度
    private Integer impureOilCount = 0;//杂油
    @TableField("TCM_1_RU_PRESSURE_COUNT")
    private Integer tcm1RuPressureCount = 0;//1#乳化液喷射梁压力
    @TableField("TCM_2_RU_PRESSURE_COUNT")
    private Integer tcm2RuPressureCount = 0;//2#乳化液喷射梁压力
    @TableField("TCM_3_RU_PRESSURE_COUNT")
    private Integer tcm3RuPressureCount = 0;//3#乳化液喷射梁压力
    @TableField("TCM_4_RU_PRESSURE_COUNT")
    private Integer tcm4RuPressureCount = 0;//4#乳化液喷射梁压力
    @TableField("TCM_5_RU_PRESSURE_COUNT")
    private Integer tcm5RuPressureCount = 0;//5#乳化液喷射梁压力
    private Integer bandFslvCount = 0;//带钢表面反射率

    @Override
    public int compareTo(RepTechFit repTechFit) {
        if (this.getCrew().charAt(0) > repTechFit.getCrew().charAt(0))
            return 1;
        else if (this.getCrew().charAt(0) < repTechFit.getCrew().charAt(0))
            return -1;
        else return 0;
    }
}